<?php
/**
 * KayPaste
 *
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.opensource.org/licenses/bsd-license.php
 *
 * @category  KayPaste
 * @package   Boot
 * @copyright Copyright (c) 2007-2008 Robin Skoglund (http://robinsk.net/)
 * @license   http://www.opensource.org/licenses/bsd-license.php New BSD License
 * @author    Robin Skoglund
 */

/**
 * Project Path
 */
define('PATH_PROJECT', realpath(dirname(dirname(__FILE__))) . '/');

/**
 * Setup include path
 */
set_include_path(implode(PATH_SEPARATOR, array(
    PATH_PROJECT . 'library',
    PATH_PROJECT . 'library.incubator',
    PATH_PROJECT . 'application/models',
    get_include_path()
)));

/**
 * Register Zend_Loader to autoload classes
 * 
 * This is required for Doctrine to work.
 * 
 * @see Zend_Load
 */
require_once 'Zend/Loader.php';
Zend_Loader::registerAutoload();
